@@ -1,3 +1,9 @@
+1.19
+ - Merge releases
+
+1.16 (NUFFIN)
+ - Updated to support change in DBIC object hierarchy
+
1.18
- Fix set subquery building. Bad use of parenthesis.
- Includes an actual test for the set query.
@@ -5,7 +11,7 @@
1.17
- Small fix in release process
-1.16
+1.16 (DRUOSO)
- Adds support for Set GIN queries
1.15
@@ -0,0 +1,88 @@
+<<<<<<< HEAD
+1.16
+ - Updated to support change in DBIC object hierarchy
+=======
+1.18
+ - Fix set subquery building. Bad use of parenthesis.
+ - Includes an actual test for the set query.
+
+1.17
+ - Small fix in release process
+
+1.16
+ - Adds support for Set GIN queries
+>>>>>>> ruoso/master
+
+1.15
+ - Constructing a KiokuDB directory handle is no longer mandatory, you can
+ get it from the DBIC schema (domm, nothingmuch)
+
+1.14
+ - documentation fixes
+
+1.13
+ - fix ordered loading of DBIC Core component in example code
+ - FOR UPDATE added to SELECT queries on MySQL, PG and Oracle
+ - compound operations now create a txn guard by default
+
+1.12
+ - Fix FLORA's botched upload ;-) (typo in dist.ini)
+
+1.11
+ - Support for DBIx::Class integration (KiokuDB objects and DBIC rows can
+ point to each other, DBIC resultsets can be serialized in KiokuDB)
+ - All SQL operations that use placeholders now support limiting of the
+ number of placeholders, splitting the operation into batches (this is
+ enabled by default for SQLite which limits SQL statements to 999
+ placeholders) (Jason May)
+ - DBIx::Class::Optional::Dependencies now used in Makefile.PL to avoid
+ problems with 'create => 1'
+
+1.10
+ - NOTE: this was supposed to be 0.10... oops
+ - Added mysql_strict attribute, true by default, causes SQL's strict mode
+ to be set
+ - Now specifies 'longblob' instead of 'blob' as the type for the 'data'
+ column when deploying to MySQL because the "large" in blob apparently
+ means 64k and MySQL was truncating it by default
+ - Added more bitter comments about MySQL to the documentation
+ - Make the table_info fix from 0.09 only apply to SQLite
+
+0.09
+ - Fix double deployment with recent versions of DBD::SQLite
+ - Pod fixes
+
+0.08
+ - Fix GIN key update (FIXME no coverage in KiokuDB test suite yet)
+ - uses done_testing in test suite
+
+0.07
+ - Various documentation fixes
+ - ID stream optimization
+ - use the new sqlt_deploy_callback
+ - Don't use execute_array for DELETE
+ - Explicitly call $schema->disconnect on destruction
+ - Allow coderef in DBI DSN
+ - Don't reuse DBIC's txn_do
+
+0.06
+ - Skip tests if SQL::Translator is missing
+
+0.05
+ - Use an update statement when an entry the 'prev' attribute, and insert
+ otherwise.
+ - Add a 'schema_hook' attribute, to allow modification of the cloned schema
+ before connecting
+
+0.04
+ - Remove DBD::Pg usage (DBIC handles those parts now)
+
+0.03
+ - Switch to Serialize::Delegate
+ - add 'create' attribute
+
+0.02
+ - Skip tests if DBD::SQLite is not available
+
+0.01
+ - Initial release
@@ -1,4 +1,5 @@
Changes
+Changes.orig
LICENSE
MANIFEST
MANIFEST.SKIP
@@ -6,7 +7,9 @@ META.json
META.yml
Makefile.PL
README
+SIGNATURE
dist.ini
+dist.ini.orig
examples/job_queue.pl
inc/DBICOptionalDeps.pm
lib/DBIx/Class/KiokuDB.pm
@@ -15,7 +18,7 @@ lib/DBIx/Class/Schema/KiokuDB.pm
lib/KiokuDB/Backend/DBI.pm
lib/KiokuDB/Backend/DBI/Schema.pm
lib/KiokuDB/TypeMap/Entry/DBIC/ResultSet.pm
-lib/KiokuDB/TypeMap/Entry/DBIC/ResultSourceHandle.pm
+lib/KiokuDB/TypeMap/Entry/DBIC/ResultSource.pm
lib/KiokuDB/TypeMap/Entry/DBIC/Row.pm
lib/KiokuDB/TypeMap/Entry/DBIC/Schema.pm
t/01load.t
@@ -4,7 +4,7 @@
"Yuval Kogman"
],
"dynamic_config" : "1",
- "generated_by" : "Dist::Zilla version 4.200000, CPAN::Meta::Converter version 2.102400",
+ "generated_by" : "Dist::Zilla version 4.200004, CPAN::Meta::Converter version 2.110580",
"license" : [
"perl_5"
],
@@ -25,7 +25,7 @@
"Carp" : 0,
"Class::Accessor::Grouped" : 0,
"DBI" : "1.607",
- "DBIx::Class" : "0.08123",
+ "DBIx::Class" : "0.08127",
"DBIx::Class::Core" : 0,
"DBIx::Class::ResultSource::Table" : 0,
"DBIx::Class::Schema" : 0,
@@ -92,93 +92,93 @@
"web" : "http://github.com/nothingmuch/kiokudb-backend-dbi"
}
},
- "version" : "1.18",
+ "version" : "1.19",
"x_Dist_Zilla" : {
"plugins" : [
{
"class" : "Dist::Zilla::Plugin::GatherDir",
"name" : "@Filter/@Basic/GatherDir",
- "version" : "4.200000"
+ "version" : "4.200004"
},
{
"class" : "Dist::Zilla::Plugin::PruneCruft",
"name" : "@Filter/@Basic/PruneCruft",
- "version" : "4.200000"
+ "version" : "4.200004"
},
{
"class" : "Dist::Zilla::Plugin::ManifestSkip",
"name" : "@Filter/@Basic/ManifestSkip",
- "version" : "4.200000"
+ "version" : "4.200004"
},
{
"class" : "Dist::Zilla::Plugin::MetaYAML",
"name" : "@Filter/@Basic/MetaYAML",
- "version" : "4.200000"
+ "version" : "4.200004"
},
{
"class" : "Dist::Zilla::Plugin::License",
"name" : "@Filter/@Basic/License",
- "version" : "4.200000"
+ "version" : "4.200004"
},
{
"class" : "Dist::Zilla::Plugin::Readme",
"name" : "@Filter/@Basic/Readme",
- "version" : "4.200000"
+ "version" : "4.200004"
},
{
"class" : "Dist::Zilla::Plugin::ExtraTests",
"name" : "@Filter/@Basic/ExtraTests",
- "version" : "4.200000"
+ "version" : "4.200004"
},
{
"class" : "Dist::Zilla::Plugin::ExecDir",
"name" : "@Filter/@Basic/ExecDir",
- "version" : "4.200000"
+ "version" : "4.200004"
},
{
"class" : "Dist::Zilla::Plugin::ShareDir",
"name" : "@Filter/@Basic/ShareDir",
- "version" : "4.200000"
+ "version" : "4.200004"
},
{
"class" : "Dist::Zilla::Plugin::Manifest",
"name" : "@Filter/@Basic/Manifest",
- "version" : "4.200000"
+ "version" : "4.200004"
},
{
"class" : "Dist::Zilla::Plugin::TestRelease",
"name" : "@Filter/@Basic/TestRelease",
- "version" : "4.200000"
+ "version" : "4.200004"
},
{
"class" : "Dist::Zilla::Plugin::ConfirmRelease",
"name" : "@Filter/@Basic/ConfirmRelease",
- "version" : "4.200000"
+ "version" : "4.200004"
},
{
"class" : "Dist::Zilla::Plugin::UploadToCPAN",
"name" : "@Filter/@Basic/UploadToCPAN",
- "version" : "4.200000"
+ "version" : "4.200004"
},
{
"class" : "Dist::Zilla::Plugin::MetaConfig",
"name" : "@Filter/MetaConfig",
- "version" : "4.200000"
+ "version" : "4.200004"
},
{
"class" : "Dist::Zilla::Plugin::MetaJSON",
"name" : "@Filter/MetaJSON",
- "version" : "4.200000"
+ "version" : "4.200004"
},
{
"class" : "Dist::Zilla::Plugin::PkgVersion",
"name" : "@Filter/PkgVersion",
- "version" : "4.200000"
+ "version" : "4.200004"
},
{
"class" : "Dist::Zilla::Plugin::PodSyntaxTests",
"name" : "@Filter/PodSyntaxTests",
- "version" : "4.200000"
+ "version" : "4.200004"
},
{
"class" : "Dist::Zilla::Plugin::NoTabsTests",
@@ -188,22 +188,27 @@
{
"class" : "Dist::Zilla::Plugin::PodCoverageTests",
"name" : "@Filter/PodCoverageTests",
- "version" : "4.200000"
+ "version" : "4.200004"
},
{
"class" : "Dist::Zilla::Plugin::MetaResources",
"name" : "@Filter/MetaResources",
- "version" : "4.200000"
+ "version" : "4.200004"
},
{
"class" : "Dist::Zilla::Plugin::Authority",
"name" : "@Filter/Authority",
- "version" : "1.001"
+ "version" : "1.004"
},
{
"class" : "Dist::Zilla::Plugin::AutoPrereqs",
"name" : "@Filter/AutoPrereqs",
- "version" : "4.200000"
+ "version" : "4.200004"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::Signature",
+ "name" : "@Filter/Signature",
+ "version" : "1.100930"
},
{
"class" : "inc::DBICOptionalDeps",
@@ -211,7 +216,7 @@
"version" : null
},
{
- "class" : "Dist::Zilla::Plugin::Prereq",
+ "class" : "Dist::Zilla::Plugin::Prereqs",
"config" : {
"Dist::Zilla::Plugin::Prereqs" : {
"phase" : "configure",
@@ -219,7 +224,7 @@
}
},
"name" : "ConfigureRequires",
- "version" : "4.200000"
+ "version" : "4.200004"
},
{
"class" : "Dist::Zilla::Plugin::InjectMeta",
@@ -227,35 +232,35 @@
"version" : null
},
{
- "class" : "Dist::Zilla::Plugin::Prereq",
+ "class" : "Dist::Zilla::Plugin::Prereqs",
"config" : {
"Dist::Zilla::Plugin::Prereqs" : {
"phase" : "runtime",
"type" : "requires"
}
},
- "name" : "Prereq",
- "version" : "4.200000"
+ "name" : "Prereqs",
+ "version" : "4.200004"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":InstallModules",
- "version" : "4.200000"
+ "version" : "4.200004"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":TestFiles",
- "version" : "4.200000"
+ "version" : "4.200004"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":ExecFiles",
- "version" : "4.200000"
+ "version" : "4.200004"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":ShareFiles",
- "version" : "4.200000"
+ "version" : "4.200004"
}
],
"zilla" : {
@@ -263,7 +268,7 @@
"config" : {
"is_trial" : 0
},
- "version" : "4.200000"
+ "version" : "4.200004"
}
},
"x_authority" : "cpan:NUFFIN"
@@ -20,7 +20,7 @@ configure_requires:
DBIx::Class::Optional::Dependencies: 0
ExtUtils::MakeMaker: 6.31
dynamic_config: 1
-generated_by: 'Dist::Zilla version 4.200000, CPAN::Meta::Converter version 2.102400'
+generated_by: 'Dist::Zilla version 4.200004, CPAN::Meta::Converter version 2.110580'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -30,7 +30,7 @@ requires:
Carp: 0
Class::Accessor::Grouped: 0
DBI: 1.607
- DBIx::Class: 0.08123
+ DBIx::Class: 0.08127
DBIx::Class::Core: 0
DBIx::Class::ResultSource::Table: 0
DBIx::Class::Schema: 0
@@ -68,77 +68,77 @@ resources:
bugtracker: http://rt.cpan.org/Public/Dist/Display.html?Name=KiokuDB-Backend-DBI
homepage: http://search.cpan.org/dist/KiokuDB-Backend-DBI
repository: git://github.com/nothingmuch/kiokudb-backend-dbi.git
-version: 1.18
+version: 1.19
x_Dist_Zilla:
plugins:
-
class: Dist::Zilla::Plugin::GatherDir
name: '@Filter/@Basic/GatherDir'
- version: 4.200000
+ version: 4.200004
-
class: Dist::Zilla::Plugin::PruneCruft
name: '@Filter/@Basic/PruneCruft'
- version: 4.200000
+ version: 4.200004
-
class: Dist::Zilla::Plugin::ManifestSkip
name: '@Filter/@Basic/ManifestSkip'
- version: 4.200000
+ version: 4.200004
-
class: Dist::Zilla::Plugin::MetaYAML
name: '@Filter/@Basic/MetaYAML'
- version: 4.200000
+ version: 4.200004
-
class: Dist::Zilla::Plugin::License
name: '@Filter/@Basic/License'
- version: 4.200000
+ version: 4.200004
-
class: Dist::Zilla::Plugin::Readme
name: '@Filter/@Basic/Readme'
- version: 4.200000
+ version: 4.200004
-
class: Dist::Zilla::Plugin::ExtraTests
name: '@Filter/@Basic/ExtraTests'
- version: 4.200000
+ version: 4.200004
-
class: Dist::Zilla::Plugin::ExecDir
name: '@Filter/@Basic/ExecDir'
- version: 4.200000
+ version: 4.200004
-
class: Dist::Zilla::Plugin::ShareDir
name: '@Filter/@Basic/ShareDir'
- version: 4.200000
+ version: 4.200004
-
class: Dist::Zilla::Plugin::Manifest
name: '@Filter/@Basic/Manifest'
- version: 4.200000
+ version: 4.200004
-
class: Dist::Zilla::Plugin::TestRelease
name: '@Filter/@Basic/TestRelease'
- version: 4.200000
+ version: 4.200004
-
class: Dist::Zilla::Plugin::ConfirmRelease
name: '@Filter/@Basic/ConfirmRelease'
- version: 4.200000
+ version: 4.200004
-
class: Dist::Zilla::Plugin::UploadToCPAN
name: '@Filter/@Basic/UploadToCPAN'
- version: 4.200000
+ version: 4.200004
-
class: Dist::Zilla::Plugin::MetaConfig
name: '@Filter/MetaConfig'
- version: 4.200000
+ version: 4.200004
-
class: Dist::Zilla::Plugin::MetaJSON
name: '@Filter/MetaJSON'
- version: 4.200000
+ version: 4.200004
-
class: Dist::Zilla::Plugin::PkgVersion
name: '@Filter/PkgVersion'
- version: 4.200000
+ version: 4.200004
-
class: Dist::Zilla::Plugin::PodSyntaxTests
name: '@Filter/PodSyntaxTests'
- version: 4.200000
+ version: 4.200004
-
class: Dist::Zilla::Plugin::NoTabsTests
name: '@Filter/NoTabsTests'
@@ -146,62 +146,66 @@ x_Dist_Zilla:
-
class: Dist::Zilla::Plugin::PodCoverageTests
name: '@Filter/PodCoverageTests'
- version: 4.200000
+ version: 4.200004
-
class: Dist::Zilla::Plugin::MetaResources
name: '@Filter/MetaResources'
- version: 4.200000
+ version: 4.200004
-
class: Dist::Zilla::Plugin::Authority
name: '@Filter/Authority'
- version: 1.001
+ version: 1.004
-
class: Dist::Zilla::Plugin::AutoPrereqs
name: '@Filter/AutoPrereqs'
- version: 4.200000
+ version: 4.200004
+ -
+ class: Dist::Zilla::Plugin::Signature
+ name: '@Filter/Signature'
+ version: 1.100930
-
class: inc::DBICOptionalDeps
name: '=inc::DBICOptionalDeps'
version: ~
-
- class: Dist::Zilla::Plugin::Prereq
+ class: Dist::Zilla::Plugin::Prereqs
config:
Dist::Zilla::Plugin::Prereqs:
phase: configure
type: requires
name: ConfigureRequires
- version: 4.200000
+ version: 4.200004
-
class: Dist::Zilla::Plugin::InjectMeta
name: InjectMeta
version: ~
-
- class: Dist::Zilla::Plugin::Prereq
+ class: Dist::Zilla::Plugin::Prereqs
config:
Dist::Zilla::Plugin::Prereqs:
phase: runtime
type: requires
- name: Prereq
- version: 4.200000
+ name: Prereqs
+ version: 4.200004
-
class: Dist::Zilla::Plugin::FinderCode
name: ':InstallModules'
- version: 4.200000
+ version: 4.200004
-
class: Dist::Zilla::Plugin::FinderCode
name: ':TestFiles'
- version: 4.200000
+ version: 4.200004
-
class: Dist::Zilla::Plugin::FinderCode
name: ':ExecFiles'
- version: 4.200000
+ version: 4.200004
-
class: Dist::Zilla::Plugin::FinderCode
name: ':ShareFiles'
- version: 4.200000
+ version: 4.200004
zilla:
class: Dist::Zilla::Dist::Builder
config:
is_trial: 0
- version: 4.200000
+ version: 4.200004
x_authority: cpan:NUFFIN
@@ -35,7 +35,7 @@ my %WriteMakefileArgs = (
'Carp' => '0',
'Class::Accessor::Grouped' => '0',
'DBI' => '1.607',
- 'DBIx::Class' => '0.08123',
+ 'DBIx::Class' => '0.08127',
'DBIx::Class::Core' => '0',
'DBIx::Class::ResultSource::Table' => '0',
'DBIx::Class::Schema' => '0',
@@ -70,7 +70,7 @@ my %WriteMakefileArgs = (
'namespace::autoclean' => '0',
'namespace::clean' => '0'
},
- 'VERSION' => '1.18',
+ 'VERSION' => '1.19',
'test' => {
'TESTS' => 't/*.t'
}
@@ -82,7 +82,7 @@ unless ( eval { ExtUtils::MakeMaker->VERSION(6.56) } ) {
my $pp = $WriteMakefileArgs{PREREQ_PM};
for my $mod ( keys %$br ) {
if ( exists $pp->{$mod} ) {
- $pp->{$mod} = $br->{$mod} if $br->{$mod} > $pp->{$mod};
+ $pp->{$mod} = $br->{$mod} if $br->{$mod} > $pp->{$mod};
}
else {
$pp->{$mod} = $br->{$mod};
@@ -1,7 +1,7 @@
This archive contains the distribution KiokuDB-Backend-DBI,
-version 1.18:
+version 1.19:
L<DBI> backend for L<KiokuDB>
@@ -0,0 +1,54 @@
+This file contains message digests of all files listed in MANIFEST,
+signed via the Module::Signature module, version 0.66.
+
+To verify the content in this distribution, first make sure you have
+Module::Signature installed, then type:
+
+ % cpansign -v
+
+It will check each file's integrity, as well as the signature's
+validity. If "==> Signature verified OK! <==" is not displayed,
+the distribution may already have been compromised, and you should
+not run its Makefile.PL or Build.PL.
+
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+SHA1 74eab2c8d237ee62e10575ff9481e142ff72ffe8 Changes
+SHA1 7a899b682b1c4c111a60a42ad5099fd72e4918dd Changes.orig
+SHA1 e43e1b973104cbc58b2e307077bc9a94be5af31d LICENSE
+SHA1 be110077e559dc049f3e6398d83c216ed980c5c0 MANIFEST
+SHA1 190e9058eb9c6446a1a3f3ddf15b082f1ecde152 MANIFEST.SKIP
+SHA1 3199f8ac26cf9ce08afd2a0ed974718263d4a46b META.json
+SHA1 13622a396cf0ee914b7d6587a6baa75eb5eebd9e META.yml
+SHA1 25306046f3e8f90f139c855121ca5ae37cd3ccd2 Makefile.PL
+SHA1 3a0f07e86d309016728fdb0d63d4eed1fa24f559 README
+SHA1 9f670c712fdfed5a8147572adcf6a4c4c8d59273 dist.ini
+SHA1 d9789a87e0f6e167e8445bb28ca1d54c5050c4ee dist.ini.orig
+SHA1 1c19b49084f6c9437dc599f2ad2ea2127c30757a examples/job_queue.pl
+SHA1 d134a679a19a37e16df75d5fab37424567209345 inc/DBICOptionalDeps.pm
+SHA1 83b183bb6b22759977ce2d86fd1e3371698a42b9 lib/DBIx/Class/KiokuDB.pm
+SHA1 f1fd88b967848de8ebcfd93fc4e25a937d174aa5 lib/DBIx/Class/KiokuDB/EntryProxy.pm
+SHA1 1cc8301b6420ab8eda3f9b9f5dcd23daf1910303 lib/DBIx/Class/Schema/KiokuDB.pm
+SHA1 20865c67331d4f5f0efa971c538968fdf03bf5fd lib/KiokuDB/Backend/DBI.pm
+SHA1 0644c0110621c6adc54704500934e7718574d68b lib/KiokuDB/Backend/DBI/Schema.pm
+SHA1 7def0e1e74f95afea66b84dd28a0babb565bc10a lib/KiokuDB/TypeMap/Entry/DBIC/ResultSet.pm
+SHA1 b5f10500052a3173913a42141388f548bbf2ac43 lib/KiokuDB/TypeMap/Entry/DBIC/ResultSource.pm
+SHA1 51dbb3aad0cc44580bbe9f08b10be10d61e992ef lib/KiokuDB/TypeMap/Entry/DBIC/Row.pm
+SHA1 6071e194f6909d15408ee96e461bcf454e97d3c0 lib/KiokuDB/TypeMap/Entry/DBIC/Schema.pm
+SHA1 5b59d940cc0e259e5f9723fe09f0a2a52ab71558 t/01load.t
+SHA1 e5b8df582436fb264bfde5da1dc75a1f6f08a2b8 t/autovivify_handle.t
+SHA1 c6d21998a55a7ffadd25e8fa2294db8d79ccbac3 t/basic.t
+SHA1 73708a0631e4bfccafc57211dd8db58f2edb0893 t/dbic.t
+SHA1 4e0841483fd658cb48e783a91cdf4d31ce2d6ed5 t/fixtures.t
+SHA1 455d1dd1867212a665ad5ea4126b572411de300c t/release-no-tabs.t
+SHA1 9433c240fe590bc404ab68ff63984df763e347ed t/release-pod-coverage.t
+SHA1 b30cbdfaf935017c4568c0c91b242438cb87786e t/release-pod-syntax.t
+SHA1 eedc1f16cfb180cbd159f2e0e2056ce7940f5e34 t/set_query.t
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG/MacGPG2 v2.0.12 (Darwin)
+
+iEYEARECAAYFAk11VqwACgkQVCwRwOvSdBipcQCgmg7NigRA6ipqVYjptoTDP5Zw
+aFMAn3nf/r8elSw6e6XU6RKohbzSWeS8
+=vwn3
+-----END PGP SIGNATURE-----
@@ -1,5 +1,5 @@
name = KiokuDB-Backend-DBI
-version = 1.18
+version = 1.19
author = Yuval Kogman
license = Perl_5
copyright_holder = Yuval Kogman, Infinity Interactive
@@ -15,19 +15,19 @@ repository_at = github
[=inc::DBICOptionalDeps]
-[Prereq / ConfigureRequires]
+[Prereqs / ConfigureRequires]
DBIx::Class::Optional::Dependencies = 0
[InjectMeta]
dynamic_config = 1
-[Prereq]
+[Prereqs]
Moose = 0
MooseX::Types = 0.08
MooseX::Types::Moose = 0
KiokuDB = 0.46
-DBIx::Class = 0.08123
+DBIx::Class = 0.08127
DBI = 1.607
Data::Stream::Bulk = 0.07
@@ -0,0 +1,44 @@
+name = KiokuDB-Backend-DBI
+<<<<<<< HEAD
+version = 1.16
+=======
+version = 1.18
+>>>>>>> ruoso/master
+author = Yuval Kogman
+license = Perl_5
+copyright_holder = Yuval Kogman, Infinity Interactive
+
+[@Filter]
+-bundle = @NUFFIN
+-remove = MakeMaker
+-remove = EOLTests ; fails for MakeMaker::Awesome
+-remove = PodWeaver ; don't break shit yet, next release
+
+dist = KiokuDB-Backend-DBI
+repository_at = github
+
+[=inc::DBICOptionalDeps]
+
+[Prereqs / ConfigureRequires]
+DBIx::Class::Optional::Dependencies = 0
+
+[InjectMeta]
+dynamic_config = 1
+
+[Prereqs]
+Moose = 0
+MooseX::Types = 0.08
+MooseX::Types::Moose = 0
+
+KiokuDB = 0.46
+DBIx::Class = 0.08127
+DBI = 1.607
+
+Data::Stream::Bulk = 0.07
+
+Test::use::ok = 0
+Test::More = 0.88
+Test::TempDir = 0
+
+SQL::Abstract = 0
+Search::GIN = 0.07
@@ -3,7 +3,7 @@ BEGIN {
$DBIx::Class::KiokuDB::EntryProxy::AUTHORITY = 'cpan:NUFFIN';
}
BEGIN {
- $DBIx::Class::KiokuDB::EntryProxy::VERSION = '1.18';
+ $DBIx::Class::KiokuDB::EntryProxy::VERSION = '1.19';
}
use strict;
@@ -3,7 +3,7 @@ BEGIN {
$DBIx::Class::KiokuDB::AUTHORITY = 'cpan:NUFFIN';
}
BEGIN {
- $DBIx::Class::KiokuDB::VERSION = '1.18';
+ $DBIx::Class::KiokuDB::VERSION = '1.19';
}
use strict;
@@ -3,7 +3,7 @@ BEGIN {
$DBIx::Class::Schema::KiokuDB::AUTHORITY = 'cpan:NUFFIN';
}
BEGIN {
- $DBIx::Class::Schema::KiokuDB::VERSION = '1.18';
+ $DBIx::Class::Schema::KiokuDB::VERSION = '1.19';
}
use strict;
@@ -5,7 +5,7 @@ BEGIN {
$KiokuDB::Backend::DBI::Schema::AUTHORITY = 'cpan:NUFFIN';
}
BEGIN {
- $KiokuDB::Backend::DBI::Schema::VERSION = '1.18';
+ $KiokuDB::Backend::DBI::Schema::VERSION = '1.19';
}
use Moose;
@@ -5,7 +5,7 @@ BEGIN {
$KiokuDB::Backend::DBI::AUTHORITY = 'cpan:NUFFIN';
}
BEGIN {
- $KiokuDB::Backend::DBI::VERSION = '1.18';
+ $KiokuDB::Backend::DBI::VERSION = '1.19';
}
use Moose;
@@ -26,7 +26,7 @@ use Scalar::Util qw(weaken refaddr);
use KiokuDB::Backend::DBI::Schema;
use KiokuDB::TypeMap;
use KiokuDB::TypeMap::Entry::DBIC::Row;
-use KiokuDB::TypeMap::Entry::DBIC::ResultSourceHandle;
+use KiokuDB::TypeMap::Entry::DBIC::ResultSource;
use KiokuDB::TypeMap::Entry::DBIC::ResultSet;
use KiokuDB::TypeMap::Entry::DBIC::Schema;
@@ -335,14 +335,14 @@ sub default_typemap {
KiokuDB::TypeMap->new(
isa_entries => {
# redirect to schema row
- 'DBIx::Class::Row' => KiokuDB::TypeMap::Entry::DBIC::Row->new,
+ 'DBIx::Class::Row' => KiokuDB::TypeMap::Entry::DBIC::Row->new,
# actual serialization
- 'DBIx::Class::ResultSet' => KiokuDB::TypeMap::Entry::DBIC::ResultSet->new,
+ 'DBIx::Class::ResultSet' => KiokuDB::TypeMap::Entry::DBIC::ResultSet->new,
# fake, the entries never get written to the db
- 'DBIx::Class::ResultSourceHandle' => KiokuDB::TypeMap::Entry::DBIC::ResultSourceHandle->new,
- 'DBIx::Class::Schema' => KiokuDB::TypeMap::Entry::DBIC::Schema->new,
+ 'DBIx::Class::ResultSource' => KiokuDB::TypeMap::Entry::DBIC::ResultSource->new,
+ 'DBIx::Class::Schema' => KiokuDB::TypeMap::Entry::DBIC::Schema->new,
},
);
}
@@ -690,7 +690,7 @@ sub get {
? ( data => $self->schema,
class => "DBIx::Class::Schema" )
: ( data => undef,
- class => "DBIx::Class::ResultSourceHandle" )
+ class => "DBIx::Class::ResultSource" )
);
}
@@ -3,7 +3,7 @@ BEGIN {
$KiokuDB::TypeMap::Entry::DBIC::ResultSet::AUTHORITY = 'cpan:NUFFIN';
}
BEGIN {
- $KiokuDB::TypeMap::Entry::DBIC::ResultSet::VERSION = '1.18';
+ $KiokuDB::TypeMap::Entry::DBIC::ResultSet::VERSION = '1.19';
}
use Moose;
@@ -0,0 +1,91 @@
+package KiokuDB::TypeMap::Entry::DBIC::ResultSource;
+BEGIN {
+ $KiokuDB::TypeMap::Entry::DBIC::ResultSource::AUTHORITY = 'cpan:NUFFIN';
+}
+BEGIN {
+ $KiokuDB::TypeMap::Entry::DBIC::ResultSource::VERSION = '1.19';
+}
+use Moose;
+
+use Scalar::Util qw(weaken refaddr);
+
+use namespace::autoclean;
+
+with qw(KiokuDB::TypeMap::Entry);
+
+sub compile {
+ my ( $self, $class ) = @_;
+
+ return KiokuDB::TypeMap::Entry::Compiled->new(
+ collapse_method => sub {
+ my ( $collapser, @args ) = @_;
+
+ $collapser->collapse_first_class(
+ sub {
+ my ( $collapser, %args ) = @_;
+
+ if ( refaddr($collapser->backend->schema) == refaddr($args{object}->schema) ) {
+ return $collapser->make_entry(
+ %args,
+ data => undef,
+ meta => {
+ immortal => 1,
+ },
+ );
+ } else {
+ croak("Referring to foreign DBIC schemas is unsupported");
+ }
+ },
+ @args,
+ );
+ },
+ expand_method => sub {
+ my ( $linker, $entry ) = @_;
+
+ my $schema = $linker->backend->schema;
+
+ my $rs = $schema->source(substr($entry->id, length('dbic:schema:rs:')));
+
+ $linker->register_object( $entry => $rs, immortal => 1 );
+
+ return $rs;
+ },
+ id_method => sub {
+ my ( $self, $object ) = @_;
+
+ return 'dbic:schema:rs:' . $object->source_name;
+ },
+ refresh_method => sub { },
+ entry => $self,
+ class => $class,
+ );
+}
+
+
+__PACKAGE__->meta->make_immutable;
+
+# ex: set sw=4 et:
+
+__PACKAGE__
+
+__END__
+
+=pod
+
+=head1 NAME
+
+KiokuDB::TypeMap::Entry::DBIC::ResultSource - L<KiokuDB::TypeMap::Entry>
+for L<DBIx::Class::ResultSource> objects.
+
+=head1 DESCRIPTION
+
+This tyepmap entry resolves result source handles symbolically by name.
+
+References to the handle receive a special ID in the form:
+
+ dbic:schema:rs:$name
+
+and are not actually written to storage.
+
+Looking up such an ID causes the backend to dynamically search for such a
+resultset in the L<DBIx::Class::Schema>.
@@ -1,91 +0,0 @@
-package KiokuDB::TypeMap::Entry::DBIC::ResultSourceHandle;
-BEGIN {
- $KiokuDB::TypeMap::Entry::DBIC::ResultSourceHandle::AUTHORITY = 'cpan:NUFFIN';
-}
-BEGIN {
- $KiokuDB::TypeMap::Entry::DBIC::ResultSourceHandle::VERSION = '1.18';
-}
-use Moose;
-
-use Scalar::Util qw(weaken refaddr);
-
-use namespace::autoclean;
-
-with qw(KiokuDB::TypeMap::Entry);
-
-sub compile {
- my ( $self, $class ) = @_;
-
- return KiokuDB::TypeMap::Entry::Compiled->new(
- collapse_method => sub {
- my ( $collapser, @args ) = @_;
-
- $collapser->collapse_first_class(
- sub {
- my ( $collapser, %args ) = @_;
-
- if ( refaddr($collapser->backend->schema) == refaddr($args{object}->schema) ) {
- return $collapser->make_entry(
- %args,
- data => undef,
- meta => {
- immortal => 1,
- },
- );
- } else {
- croak("Referring to foreign DBIC schemas is unsupported");
- }
- },
- @args,
- );
- },
- expand_method => sub {
- my ( $linker, $entry ) = @_;
-
- my $schema = $linker->backend->schema;
-
- my $handle = $schema->source(substr($entry->id, length('dbic:schema:rs:')))->handle;
-
- $linker->register_object( $entry => $handle, immortal => 1 );
-
- return $handle;
- },
- id_method => sub {
- my ( $self, $object ) = @_;
-
- return 'dbic:schema:rs:' . $object->source_moniker;
- },
- refresh_method => sub { },
- entry => $self,
- class => $class,
- );
-}
-
-
-__PACKAGE__->meta->make_immutable;
-
-# ex: set sw=4 et:
-
-__PACKAGE__
-
-__END__
-
-=pod
-
-=head1 NAME
-
-KiokuDB::TypeMap::Entry::DBIC::ResultSourceHandle - L<KiokuDB::TypeMap::Entry>
-for L<DBIx::Class::ResultSourceHandle> objects.
-
-=head1 DESCRIPTION
-
-This tyepmap entry resolves result source handles symbolically by name.
-
-References to the handle receive a special ID in the form:
-
- dbic:schema:rs:$name
-
-and are not actually written to storage.
-
-Looking up such an ID causes the backend to dynamically search for such a
-resultset in the L<DBIx::Class::Schema>.
@@ -3,7 +3,7 @@ BEGIN {
$KiokuDB::TypeMap::Entry::DBIC::Row::AUTHORITY = 'cpan:NUFFIN';
}
BEGIN {
- $KiokuDB::TypeMap::Entry::DBIC::Row::VERSION = '1.18';
+ $KiokuDB::TypeMap::Entry::DBIC::Row::VERSION = '1.19';
}
use Moose;
@@ -3,7 +3,7 @@ BEGIN {
$KiokuDB::TypeMap::Entry::DBIC::Schema::AUTHORITY = 'cpan:NUFFIN';
}
BEGIN {
- $KiokuDB::TypeMap::Entry::DBIC::Schema::VERSION = '1.18';
+ $KiokuDB::TypeMap::Entry::DBIC::Schema::VERSION = '1.19';
}
use Moose;